<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/common.jspf"%>
<!DOCTYPE html>
<html>
<head>
    <title>搜索</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
<link rel="stylesheet" type="text/css" href="${proPath }/css/bootstrap.min.css">
<script type="text/javascript" src="${proPath }/js/jquery.min.js"></script>
<script type="text/javascript" src="${proPath }/js/bootstrap.min.js"></script>
<script type="text/javascript" src="${proPath }/js/bootstrap-treeview.js"></script>
<script type="text/javascript" src="${proPath }/js/jquery-form.js"></script>
<script type="text/javascript" src="${proPath }/js/bootbox.js"></script>
</head>
<body>
 <form id="searchFileForm">
 	<div class="modal-dialog" role="document">
	    <div class="modal-content">
		      <div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
		        <h4 class="modal-title" id="searchFileLabel">搜索</h4>
		      </div>
	      	    <div class="modal-body">
	      	    	<div class="row">
	      	    		 <div class="col-md-12">
							 <div class="form-group">
							    <label for="searchFileName">名称</label>
							    <input type="text" class="form-control" id="searchFileName" name="fileName"/>
							  </div>
						</div>
					 </div>
						<div class="row">
							 <div class="col-md-6">
						 		<div class="form-group">
								    <label for="">系统类型</label>
								    <select class="form-control" id="" name="sysType">
								    		<option value="">请选择</option>
								    	<c:forEach items="${spdList}" var="sysType">
					 						<c:if test="${sysType.type==1 }">
									    		<option value="${sysType.name }">${sysType.name }</option>
									        </c:if>
							 			 </c:forEach> 		
								    </select>
								 </div>
							 </div>
							 <div class="col-md-6">
						 		<div class="form-group">
								    <label for="">产品名称</label>
								    <select class="form-control" id="" name="productName">
								    	<option value="">请选择</option>
								    	<c:forEach items="${spdList}" var="productName">
					 						<c:if test="${productName.type==2 }">
									    		<option value="${productName.name }">${productName.name }</option>
									      	</c:if>
						    			 </c:forEach>
								    </select>
								 </div>
							 </div>
						 </div>	
						 <div class="row">
							 <div class="col-md-6">
						 		<div class="form-group">
								    <label for="">产品类型</label>
								    <select class="form-control" id="" name="productType">
								    	<option value="">请选择</option>
								    		<c:forEach items="${spdList}" var="productType">
								 				<c:if test="${productType.type==3 }">
										   		 	<option value="${productType.name }">${productType.name }</option>
										     	</c:if>
										     </c:forEach>
								    </select>
								 </div>
							 </div>
							 <div class="col-md-6">
						 		<div class="form-group">
								    <label for="">特殊单编号</label>
								    <select class="form-control" id="" name="specialNum">
								    	<option value="">请选择</option>
								    	<c:forEach items="${spdList}" var="specialNum">
								 			<c:if test="${specialNum.type==9 }">
									    		<option value="${specialNum.name }">${specialNum.name }</option>
										    </c:if>
										</c:forEach>
								    </select>
								 </div>
							 </div>
						 </div>	
						 <div class="row">
							 <div class="col-md-6">
						 		<div class="form-group">
									    <label for="">产品型号</label>
									    <select class="form-control" id="" name="productModel">
									    	<option value="">请选择</option>
									    	<c:forEach items="${spdList}" var="productModel">
									 			<c:if test="${productModel.type==4 }">
													    <option value="${productModel.name }">${productModel.name }</option>
											     </c:if>
											 </c:forEach>
									    </select>
								 </div>
							 </div>
							 <div class="col-md-6">
						 		<div class="form-group">
									    <label for="">上传人员</label>
									    <select class="form-control" id="" name="uploadUser">
									    	<option value="">请选择</option>
									    	<c:forEach items="${spdList}" var="uploadUser">
									 			<c:if test="${uploadUser.type==10 }">
													    <option value="${uploadUser.name }">${uploadUser.name }</option>
											     </c:if>
											 </c:forEach>
									    </select>
								 </div>
							 </div>
						 </div>	
						 <div class="row">
							 <div class="col-md-6">
						 		<div class="form-group">
									    <label for="">适用场景</label>
									    <select class="form-control" id="" name="usageScenarios">
									    	<option value="">请选择</option>
									    	<c:forEach items="${spdList}" var="usageScenarios">
									 			<c:if test="${usageScenarios.type==5 }">
													    <option value="${usageScenarios.name }">${usageScenarios.name }</option>
											     </c:if>
											 </c:forEach>
									    </select>
								 </div>
							 </div>
							 <div class="col-md-6">
						 		<div class="form-group">
									    <label for="">文档类型</label>
									    <select class="form-control" id="" name="documentType">
									    	<option value="">请选择</option>
									    	<c:forEach items="${spdList}" var="documentType">
									 			<c:if test="${documentType.type==6 }">
													    <option value="${documentType.name }">${documentType.name }</option>
											     </c:if>
											</c:forEach>
									    </select>
								 </div>
							 </div>
						 </div>	
						 <div class="row">
							 <div class="col-md-6">
						 		<div class="form-group">
									    <label for="">文档版本</label>
									    <select class="form-control" id="" name="version">
									    	<option value="">请选择</option>
									    	<c:forEach items="${spdList}" var="version">
									 			<c:if test="${version.type==7 }">
													    <option value="${version.name }">${version.name }</option>
											     </c:if>
											 </c:forEach>
									    </select>
								 </div>
							 </div>
							 <div class="col-md-6">
						 		<div class="form-group">
									    <label for="">物料编码</label>
									    <select class="form-control" id="" name="materiel">
									    	<option value="">请选择</option>
									    	<c:forEach items="${spdList}" var="materiel">
									 			<c:if test="${materiel.type==8 }">
													    <option value="${materiel.name }">${materiel.name }</option>
											     </c:if>
											</c:forEach>
									    </select>
								 </div>
							 </div>
						 </div>	
					 		 
		        </div>
		      	<div class="modal-footer">
					<div class="col-md-6">
						<button type="button" class="btn btn-primary btn-block" onclick="submitSearchFile()">确定</button>
					</div>
					<div class="col-md-6">
						<button type="button" class="btn btn-primary btn-block" data-dismiss="modal">取消</button>
					</div>
			   </div>
	    </div>
	  </div>
</form>

</body>

</html>
